package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.dao.base.BaseMapper;
import cn.com.thinvent.dispatch.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IndicatorConfigMapper extends BaseMapper<IndicatorConfig> {
    IndicatorConfig queryById(@Param("id") Integer id);
    List<IndicatorConfig> queryAllByLimit(@Param("userId") Integer userId,
                                          @Param("fileName") String fileName,
                                          @Param("pageBegin") Integer pageBegin,
                                          @Param("pageSize") Integer pageSize);
    Long count(@Param("userId") Integer userId,
               @Param("fileName") String fileName);
    Integer deleteById(@Param("id") Integer id);

}
